<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="UTF-8">
    <title>通用</title>

</head>
<body>

<!--    头部-->
<div th:fragment="head" class="layui-header layui-bg-green" >
    <div class="layui-logo layui-bg-red">服装生产销售管理系统</div>
    <!-- 头部区域（可配合layui已有的水平导航） -->
    <ul class="layui-nav layui-layout-left">
        <li class="layui-nav-item">
            <a href="javascript:;">人员监控</a>
            <dl class="layui-nav-child">
                <dd><a th:href="@{/personnel/staff/index}">员工管理</a></dd>
                <dd><a th:href="@{/personnel/department/index}">部门管理</a></dd>
            </dl>
        </li>
        <li class="layui-nav-item">
            <a href="javascript:;">客户订单</a>
            <dl class="layui-nav-child">
                <dd><a th:href="@{/order/client/index}">客户管理</a></dd>
                <dd><a th:href="@{/order/order/index}">订单管理</a></dd>

            </dl>
        </li>
        <li class="layui-nav-item">
            <a href="javascript:;">服装管理</a>
            <dl class="layui-nav-child">
                <dd><a th:href="@{/clothing/clothing/index}">服装信息</a></dd>
                <dd><a th:href="@{/clothing/category/index}">服装类别</a></dd>
            </dl>
        </li>
        <li class="layui-nav-item">
            <a href="javascript:;">采购管理</a>
            <dl class="layui-nav-child">
                <dd><a th:href="@{/procurement/orders/index}">物料需求分析</a></dd>
                <dd><a th:href="@{/procurement/purchaseOrders/index}">采购单</a></dd>
            </dl>
        </li>
        <li class="layui-nav-item">
            <a href="javascript:;">库存管理</a>
            <dl class="layui-nav-child">
                <dd><a th:href="@{/repertory/material/index}">物料信息</a></dd>
                <dd><a th:href="@{/repertory/material/repertoryIndex}">物料库存</a></dd>
                <dd><a th:href="@{/repertory/finish/index}">成品库存</a></dd>
            </dl>
        </li>
        <li class="layui-nav-item">
            <a href="javascript:;">生产管理</a>
            <dl class="layui-nav-child">
                <dd><a th:href="@{/production/management/index}">生产信息</a></dd>
            </dl>
        </li>

        <li class="layui-nav-item">
            <a href="javascript:;">财务管理</a>
            <dl class="layui-nav-child">
                <dd><a th:href="@{/financial/management/index}">订单资金详情</a></dd>
            </dl>
        </li>
    </ul>

    <ul class="layui-nav layui-layout-right">
        <li class="layui-nav-item">
            <a href="javascript:;">
                <img src="http://t.cn/RCzsdCq" class="layui-nav-img">
                <shiro:principal property="name"/>
            </a>
            <dl class="layui-nav-child">
                <shiro:hasPermission name="personnel:staff:add"><dd><a href="">基本资料</a></dd></shiro:hasPermission>

                <dd><a href="">安全设置</a></dd>
            </dl>
        </li>
        <li class="layui-nav-item"><a th:href="@{/logout}">退了</a></li>
    </ul>
</div>


<script th:inline="javascript" th:fragment="baseUrl">
    baseUrl=[[@{/}]];
</script>

</body>
</html>